#ifndef HISTOGRAMDIALOG_H
#define HISTOGRAMDIALOG_H

#include <QDialog>
#include "mainapp.h"

class MainApp;

namespace Ui {
class HistogramDialog;
}

class HistogramDialog : public QDialog
{
    Q_OBJECT

public:
    explicit HistogramDialog(QDialog *parent = 0, MainApp *_app = 0);
    ~HistogramDialog();
    void SetHistogramR(QImage*);
    void SetHistogramG(QImage*);
    void SetHistogramB(QImage*);

private slots:
    void on_pushButton_clicked();

private:
    Ui::HistogramDialog *ui;
    MainApp             *m_MainApp;
};

#endif // HISTOGRAMDIALOG_H
